package com.objectproject.main.service.iface;

import java.util.ArrayList;
import java.util.Locale;

import com.objectproject.main.model.MyObject;
import com.objectproject.main.model.MyProperty;

public interface MyPropertyService {

	public abstract void addMyProperties(MyObject targetObject, ArrayList<MyProperty> myProperties, Locale locale);
	
	public abstract void addMyProperty(MyObject targetObject, MyProperty myProperty, Locale locale);
	
	public abstract void overrideMyProperty(MyObject targetObject, MyProperty myProperty,Locale locale);
	
	public abstract void removeMyProperty(long objectId, long propertyId);
	
	public abstract void removeMyProperty(long propertyId);
	
	public abstract void reviseMyProperty(MyObject targetObject, MyProperty myProperty);

	public abstract void reviseMyPropertyDetail(MyObject targetObject, MyProperty myProperty, Locale locale);
	
	public abstract void reviseMyPropertyValue(MyObject targetObject, MyProperty myProperty, Locale locale);
}
